const router = require('express').Router();
const { create, getById, getAll, update, remove } = require('../controllers/recommendationController');
const authMiddleware = require('../middlewares/authMiddleware');

router.post('/', authMiddleware, create);
router.get('/:id', authMiddleware, getById);
router.get('/', authMiddleware, getAll);
router.put('/:id', authMiddleware, update);
router.delete('/:id', authMiddleware, remove);

module.exports = router;